home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / drivers / gstune31.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-09-21  |  4KB  |  89 lines

  1. echo off
  2. cls
  3. if ()==(%1) goto NO_ARG
  4. goto DO_IT
  5. :NO_ARG
  6. cls
  7. echo               ┌─────────────────────────────────────────────────┐
  8. echo               │** Accelerator Windows 3.1 Crystal Tune Utility**│
  9. echo               └─────────────────────────────────────────────────┘
  10. echo  
  11. echo                This  batch file needs to know where your Windows
  12. echo                directory is located in order to properly install
  13. echo                the Crystal Tune Utility.
  14. echo  
  15. echo                    ┌┬────────────────────────────────────┬┐
  16. echo                    ││ Usage: INSTALL [Windows Directory] ││
  17. echo                    └┴────────────────────────────────────┴┘
  18. echo                          Example: INSTALL C:\WINDOWS
  19. goto DONE
  20. :DO_IT
  21. cls
  22. echo               ┌─────────────────────────────────────────────────┐
  23. echo               │** Accelerator Windows 3.1 Crystal Tune Utility**│
  24. echo               └─────────────────────────────────────────────────┘
  25. echo  
  26. echo                    This batch file will conveniently extract
  27. echo                    the Crystal Tune Utility to  your Windows
  28. echo                    system directory.
  29. echo  
  30. echo                   ┌─────────────────────────────────────────┐
  31. echo                   │ If you are prompted to overwrite a file │
  32. echo                   │             press Y  for YES            │
  33. echo                   └─────────────────────────────────────────┘
  34. echo  
  35. echo                   Press any key to continue the installation
  36. echo                             or CONTROL-C to abort.
  37. echo 
  38. pause >nul
  39. cls
  40. echo               ┌─────────────────────────────────────────────────┐
  41. echo               │** Accelerator Windows 3.1 Crystal Tune Utility**│
  42. echo               └─────────────────────────────────────────────────┘
  43. echo  
  44. echo Decompressing . . .
  45. gstune31 /e%1
  46. if errorlevel == 0 goto OK
  47. goto ERROR
  48. :OK
  49. echo 
  50. pause
  51. cls
  52. echo               ┌─────────────────────────────────────────────────┐
  53. echo               │** Accelerator Windows 3.1 Crystal Tune Utility**│
  54. echo               └─────────────────────────────────────────────────┘
  55. echo                              ────────────────────
  56. echo                          ╒══════════════════════════╕
  57. echo                          │ Installation successful! │
  58. echo                          ╘══════════════════════════╛
  59. echo  
  60. echo           The first step of installing the Crystal Tune Utility is
  61. echo           now complete.  The next step is to tell Windows how to use
  62. echo           this Utility.  Please read the GSTUNE.TXT file for further
  63. echo           instructions. GSTUNE.TXT is located in your %1
  64. echo           directory.
  65. goto DONE
  66. cls
  67. echo               ┌─────────────────────────────────────────────────┐
  68. echo               │** Accelerator Windows 3.1 Crystal Tune Utility**│
  69. echo               └─────────────────────────────────────────────────┘
  70. echo                            ────────────────────
  71. echo                           ╒═════════════════════╕
  72. echo                           │ Installation Failed │
  73. echo                           ╘═════════════════════╛
  74. echo     
  75. echo     An error has been reported decompressing the Crystal Tune Utility. This
  76. echo     may be due to problems accessing the specified directory, low free disk
  77. echo     space, or the archive is corrupt.  First, ensure the path you specified
  78. echo     is correct.  Second, run the DOS CHKDSK utility on your hard drive.  If
  79. echo     CHKDSK reports errors, correct the errors before continuing. Also, make
  80. echo     certain you have at least 3 Meg of free disk space available.
  81. echo     
  82. echo     If you  continue to  have  problems,  you  may  wish  to  try  manually
  83. echo     installing the utility or contact ATI Customer Support. Manual
  84. echo     installation instructions are in README.1ST.
  85. :DONE
  86. echo  
  87. echo               ATI Customer Support (416) 756-0711 9am-5:30pm
  88. echo 
  89.